package it.virtuscarroccio.com.dao.impl;

import it.virtuscarroccio.com.dao.OperationsDAO;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class OperationsDAOImpl extends SqlMapClientDaoSupport implements OperationsDAO {

	public OperationsDAOImpl() {
		super();
	}

	public Integer selectLastIdInserted() {
		return (Integer) getSqlMapClientTemplate().queryForObject(
				"custom_operations.getLastInsertId", null);
	}


}